package org.walkerljl.commons.aop.impl;


import org.walkerljl.commons.aop.AspectProxy;

import java.lang.reflect.Method;

/**
 * AspectProxyImpl
 *
 * @author lijunlin
 */
public class AspectProxyImpl extends AspectProxy {

    @Override
    public void before(Class<?> cls, Method method, Object[] params) throws Throwable {
        System.out.println("Before, do something.");
    }

    @Override
    public void after(Class<?> cls, Method method, Object[] params, Object result) throws Throwable {
        System.out.println("After, do something.");
    }

}
